package com.ruoyi.znjc.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 模型预警日志对象 znjc_modelwarnlog
 * 
 * @author ZNJC
 * @date 2025-07-23
 */
public class ZnjcModelwarnlog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预警ID */
    @Excel(name = "预警ID")
    private Long warningId;

    /** 模型名称 */
    @Excel(name = "模型名称")
    private String modelName;

    /** 物候期ID */
    @Excel(name = "物候期ID")
    private Long cropId;

    /** 农业规则ID */
    @Excel(name = "农业规则ID")
    private Long ruleId;

    /** 规则内容 */
    @Excel(name = "规则内容")
    private String ruleContent;

    /** 环境快照 */
    @Excel(name = "环境快照")
    private String envSnapshot;

    /** 模型建议 */
    @Excel(name = "模型建议")
    private String modelSuggestion;

    /** 来源 */
    @Excel(name = "来源")
    private String suggestionRule;

    /** 识别结果名称 */
    @Excel(name = "识别结果名称")
    private String resultName;

    /** 结果程度（轻微、中等、严重） */
    @Excel(name = "结果程度", readConverterExp = "轻=微、中等、严重")
    private String severityLevel;

    /** 建议内容 */
    @Excel(name = "建议内容")
    private String suggestion;

    /** 发生概率 */
    @Excel(name = "发生概率")
    private Long probability;

    /** 作物名称 */
    @Excel(name = "作物名称")
    private String cropName;

    /** 生长阶段 */
    @Excel(name = "生长阶段")
    private String stageName;

    public void setWarningId(Long warningId) 
    {
        this.warningId = warningId;
    }

    public Long getWarningId() 
    {
        return warningId;
    }

    public void setModelName(String modelName) 
    {
        this.modelName = modelName;
    }

    public String getModelName() 
    {
        return modelName;
    }

    public void setCropId(Long cropId) 
    {
        this.cropId = cropId;
    }

    public Long getCropId() 
    {
        return cropId;
    }

    public void setRuleId(Long ruleId) 
    {
        this.ruleId = ruleId;
    }

    public Long getRuleId() 
    {
        return ruleId;
    }

    public void setRuleContent(String ruleContent) 
    {
        this.ruleContent = ruleContent;
    }

    public String getRuleContent() 
    {
        return ruleContent;
    }

    public void setEnvSnapshot(String envSnapshot) 
    {
        this.envSnapshot = envSnapshot;
    }

    public String getEnvSnapshot() 
    {
        return envSnapshot;
    }

    public void setModelSuggestion(String modelSuggestion) 
    {
        this.modelSuggestion = modelSuggestion;
    }

    public String getModelSuggestion() 
    {
        return modelSuggestion;
    }

    public void setSuggestionRule(String suggestionRule) 
    {
        this.suggestionRule = suggestionRule;
    }

    public String getSuggestionRule() 
    {
        return suggestionRule;
    }

    public void setResultName(String resultName) 
    {
        this.resultName = resultName;
    }

    public String getResultName() 
    {
        return resultName;
    }

    public void setSeverityLevel(String severityLevel) 
    {
        this.severityLevel = severityLevel;
    }

    public String getSeverityLevel() 
    {
        return severityLevel;
    }

    public void setSuggestion(String suggestion) 
    {
        this.suggestion = suggestion;
    }

    public String getSuggestion() 
    {
        return suggestion;
    }

    public void setProbability(Long probability) 
    {
        this.probability = probability;
    }

    public Long getProbability() 
    {
        return probability;
    }

    public void setCropName(String cropName) 
    {
        this.cropName = cropName;
    }

    public String getCropName() 
    {
        return cropName;
    }

    public void setStageName(String stageName) 
    {
        this.stageName = stageName;
    }

    public String getStageName() 
    {
        return stageName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("warningId", getWarningId())
            .append("modelName", getModelName())
            .append("cropId", getCropId())
            .append("ruleId", getRuleId())
            .append("ruleContent", getRuleContent())
            .append("envSnapshot", getEnvSnapshot())
            .append("modelSuggestion", getModelSuggestion())
            .append("suggestionRule", getSuggestionRule())
            .append("resultName", getResultName())
            .append("severityLevel", getSeverityLevel())
            .append("suggestion", getSuggestion())
            .append("probability", getProbability())
            .append("cropName", getCropName())
            .append("stageName", getStageName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
